package cn.edu.neusoft.dnui.startproject.service;

import cn.edu.neusoft.dnui.startproject.bean.WeatherResult;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;


/**
 * Created by Junsheng on 2016/12/14.
 */
//Retrofit turns your HTTP API into a Java interface.
public interface WeatherService {
    @GET("data/sk/{citynum}.html")
   public Call<WeatherResult> getWeather(@Path("citynum") String citynum);


}
